Constant |
Description |
Hex
Value |
Decimal
Value |
sgfAll |
All flags |
0xFFFFFFFF |
-1 |
sgfReadOnly |
The file or directory is
read-only. Applications can read the file but cannot write to it or delete it. In the case
of a directory applications cannot delete it. |
0x00000001 |
1 |
sgfHidden |
The file or directory is
hidden. It is not included in an ordinary directory listing |
0x00000002 |
2 |
sgfSystem |
The file or directory is part
of the operating system or is used exclusively by the operating system |
0x00000004 |
4 |
sgfDirectory |
The item identifies a
directory |
0x00000010 |
16 |
sgfArchive |
The file or directory is an
archive file or directory. Applications use this attribute to mark files for backup or
removal |
0x00000020 |
32 |
sgfEncrypted |
The file or directory is
encrypted. For a file this means that all data streams are encrypted. For a directory this
means that encryption is the default for newly created files and subdirectories |
0x00000040 |
64 |
sgfNormal |
The file or directory has no
other attributes set. This attribute is valid only if used alone |
0x00000080 |
128 |
sgfTemporary |
The file is being used for
temporary storage. File systems attempt to keep all of the data in memory for quicker
access rather than flushing it back to mass storage. A temporary file should be deleted by
the application as soon as it is no longer needed |
0x00000100 |
256 |
sgfSparseFile |
The file is a sparse file |
0x00000200 |
512 |
sgfReparsePoint |
The file has an associated
reparse point |
0x00000400 |
1024 |
sgfCompressed |
The file or directory is
compressed. For a file this means that all of the data in the file is compressed. For a
directory this means that compression is the default for newly created files and
subdirectories |
0x00000800 |
2048 |
sgfOffline |
The file data is not
immediately available. Indicates that the file data has been physically moved to offline
storage |
0x00001000 |
4096 |